package com.pda.common.database;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Index;

@Entity(
        indexes = {
                @Index(value = "billCode,type", unique = true)
        }
)
//订单存储
public class BillInfo {
    @Id(autoincrement = true)
    private Long id;
    private String billCode;
    private String desname;
    private String panem;
    private int type;
@Generated(hash = 621240207)
public BillInfo(Long id, String billCode, String desname, String panem,
        int type) {
    this.id = id;
    this.billCode = billCode;
    this.desname = desname;
    this.panem = panem;
    this.type = type;
}
@Generated(hash = 842259621)
public BillInfo() {
}
public Long getId() {
    return this.id;
}
public void setId(Long id) {
    this.id = id;
}
public String getBillCode() {
    return this.billCode;
}
public void setBillCode(String billCode) {
    this.billCode = billCode;
}
public String getDesname() {
    return this.desname;
}
public void setDesname(String desname) {
    this.desname = desname;
}
public String getPanem() {
    return this.panem;
}
public void setPanem(String panem) {
    this.panem = panem;
}
public int getType() {
    return this.type;
}
public void setType(int type) {
    this.type = type;
}

}


